import { createApp } from 'vue'
import { createPinia } from 'pinia'
// 导入 ElementPlus 组件库
import ElementPlus from 'element-plus'
// 导入 ElementPlus 样式文件
import 'element-plus/dist/index.css'

import router from '@/router'

import App from './App.vue'

const pinia = createPinia()
const app = createApp(App)

app.use(pinia)
app.use(router)
//全局启用 ElementPlus 组件库
app.use(ElementPlus)

app.mount('#app')
